<?php
include('graphs.inc.php');

$graph = new BAR_GRAPH("vBar");
$graph->values = "123,456,789,987,654";
$graph->labels = "";
$graph->showValues = 1;
$graph->barWidth = 20;
$graph->barLength = 1.0;
$graph->labelSize = 12;
$graph->absValuesSize = 12;
$graph->percValuesSize = 12;
$graph->graphPadding = 10;
$graph->graphBGColor = "#ABCDEF";
$graph->graphBorder = "1px solid blue";
$b="#A0FFFF,#A00000";
$graph->barLevelColors = array(1, "green", 400, "yellow", 800, "red");
$graph->barBGColor = "#E0F0FF";
$graph->barBorder = "2px outset white";
$graph->labelColor = "#000000";
$graph->labelBGColor = "#C0E0FF";
$graph->labelBorder = "2px groove white";
$graph->absValuesColor = "#000000";
$graph->absValuesBGColor = "#FFFFFF";
$graph->absValuesBorder = "2px groove white";
echo $graph->create();
?>